home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
make
/
icmake-6.000
/
icmake-6
/
icmake
/
exec
/
funmul.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-08
|
456 b
|
26 lines
/*
\funcref{fun\_mul}{void fun\_mul ()}
{}
{}
{pop(), push()}
{}
{funmul.c}
{
This function pops two variables and pushes the product of the {\em
vu.intval} fields of these variables. The resulting pushed variable is
of type {\em e\_int}.
}
*/
#include "icm-exec.h"
void fun_mul ()
{
VAR_
tmp;
tmp.type = e_int;
tmp.vu.intval = pop().vu.intval * pop().vu.intval;
push (tmp);
}